package cate.common.table.show.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import cate.common.table.d.GD;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("主角皮肤")
public class LeaderSkinRow extends ERow {

    @NoteField("皮肤tid")
    public int tid;

    @NoteField("性别")
    public byte gender;

    @NoteField("属性")
    public String attrStr;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", -1);
        this.tid = xrw.getInteger("ID", -1);
        this.gender = xrw.getByte("性别", GD.Gender.MALE);
        this.attrStr = xrw.getString("属性");
    }
}
